export default [
    {
        title: '组织机构',
        dataIndex: 'depart_name',
        align: 'center',
        width: 200,
        scopedSlots: { customRender: 'name' },
    },
    {
        align: 'center',
        title: '当日新增',
        children: [
            {
                title: '可执行',
                dataIndex: 'DRKZXL',
                width: 96,
                align: 'center',
            },
            {
                title: '任务量',
                dataIndex: 'DRRWL',
                width: 96,
                align: 'center',
            },
            {
                title: '已派单',
                dataIndex: 'DRYPD',
                width: 96,
                align: 'center',
            },
            {
                title: '已执行',
                dataIndex: 'DRYZX',
                width: 96,
                align: 'center',
            },
            {
                title: '已触达',
                dataIndex: 'DRYCD',
                width: 96,
                align: 'center',
            },
            {
                title: '意向量',
                dataIndex: 'DRYXL',
                width: 96,
                align: 'center',
            },
            {
                title: '意向且办理',
                dataIndex: 'DRYXQBL',
                width: 96,
                align: 'center',
            },
            {
                title: '触达率',
                width: 96,
                align: 'center',
                customRender: (record) => {
                    return Math.round(((record.DRYCD || 0) / (record.DRYZX || 1)) * 10000) / 100 + '%'
                },
            },
            {
                title: '意向率',
                dataIndex: '',
                width: 96,
                align: 'center',
                customRender: (record) => {
                    return Math.round(((record.DRYXL || 0) / (record.DRYCD || 1)) * 10000) / 100 + '%'
                },
            },
        ],
    },
    {
        align: 'center',
        title: '累计到达',
        children: [
            {
                title: '任务量',
                dataIndex: 'LJRWL',
                width: 96,
                align: 'center',
            },
            {
                title: '已派单',
                dataIndex: 'LJYPD',
                width: 96,
                align: 'center',
            },
            {
                title: '已执行',
                dataIndex: 'LJYZX',
                width: 96,
                align: 'center',
            },
            {
                title: '已触达',
                dataIndex: 'LJYCD',
                width: 96,
                align: 'center',
            },

            {
                title: '意向量',
                dataIndex: 'LJYXL',
                width: 96,
                align: 'center',
            },
            {
                title: '触达且办理',
                dataIndex: 'LJCDQBL',
                width: 96,
                align: 'center',
            },
            {
                title: '意向且办理',
                dataIndex: 'LJYXQBL',
                width: 96,
                align: 'center',
            },
            {
                title: '派单率',
                width: 96,
                align: 'center',
                customRender: (record) => {
                    return Math.round(((record.LJYPD || 0) / (record.LJRWL || 1)) * 10000) / 100 + '%'
                },
            },
            {
                title: '派单执行率',
                width: 96,
                align: 'center',
                customRender: (record) => {
                    return Math.round(((record.LJYZX || 0) / (record.LJYPD || 1)) * 10000) / 100 + '%'
                },
            },
            {
                title: '触达率',
                width: 96,
                align: 'center',
                customRender: (record) => {
                    return Math.round(((record.LJYCD || 0) / (record.LJYZX || 1)) * 10000) / 100 + '%'
                },
            },
            {
                title: '意向率',
                width: 96,
                align: 'center',
                customRender: (record) => {
                    return Math.round(((record.LJYXL || 0) / (record.LJYCD || 1)) * 10000) / 100 + '%'
                },
            },
            {
                title: '触达转化率',
                width: 96,
                align: 'center',
                customRender: (record) => {
                    return Math.round(((record.LJCDQBL || 0) / (record.LJYCD || 1)) * 10000) / 100 + '%'
                },
            },
        ],
    },
]